package com.rao.service;

import com.rao.entity.Role;
import com.rao.entity.UserRoleRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 * 后台用户和角色关系表 服务类
 * </p>
 *
 * @author rao3030
 * @since 2021-11-04
 */
public interface IUserRoleRelationService extends IService<UserRoleRelation> {
    List<Role> queryByUserId(@RequestParam(name = "userId") Long userId);

}
